package com.suse.lhw.hms.exersiseserver.domin;

import java.util.Date;

import lombok.Data;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.hms.exersiseserver.domin
 * @ClassName: EMmInstance
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/5/6 0:23
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/5/6 0:23
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Data
public class EMmInstance {
    public EMmInstance() {
    }

    private Integer id;

    /**
     * 运动模型id
     */
    private Integer mmid;

    /**
     * 数量
     */
    private Integer quanity;

    /**
     * 用户id
     */
    private String userid;

    /**
     * 创建时间
     */
    private Date createtime;

    /**
     * 消耗的卡路里
     */
    private Integer calories;
    /**
     * 是否可用
     */
    private Integer type;

    public EMmInstance(Integer id, Integer mmid, Integer quanity, String userid, Date createtime, Integer calories, Integer type) {
        this.id = id;
        this.mmid = mmid;
        this.quanity = quanity;
        this.userid = userid;
        this.createtime = createtime;
        this.calories = calories;
        this.type = type;
    }
}